package com.ddatsh.transaction.core.exception;

/**
 * 业务异常类
 * 
 * @author ddatsh
 * @version 1.0
 */
public class TransException extends RuntimeException {
	private static final long serialVersionUID = 2854824300569456267L;
	private String code;

	public TransException(String code, String message) {
		super(message);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

}